{extend name="base" /} 
{block name="body"}
<div class="right">
	<div class="rigtop">
		<span class="title">基本信息</span>
	</div>
	<div class="indrig_con">
		<div class="zizh_btnbox jib_btnbox">
			<button class="zizh_btn" type="button" onclick="info('{:url('index/info')}')">修改基本信息</button>
		</div>
		<!--基本信息内容-->
		<div class="shxx_list">
			<div class="shxx_item">
				<div class="shxx_title">基本信息</div>
				<div class="shxx_jibbox clearfix">
					<div class="shxx_jbleft">
						<div class="shxx_row clearfix">
							<div class="left">帐号余额</div>
							<div class="right">
								<p><em>{$data.balance|default='0'}元</em>
									<a href="#" class="edit" onclick="tixian('{:url('finace/tixian_add')}')">提现</a>
									<a href="{:url('finace/money')}" class="green">记录</a>
								</p>
							</div>
						</div>
						<div class="shxx_row clearfix">
							<div class="left">店铺电话</div>
							<div class="right">
								<p>
									<em>{$data.mobile|default='0'}</em>
								</p>
							</div>
						</div>
						<div class="shxx_row clearfix">
							<div class="left">店铺性质</div>
							<div class="right">
								<p><em>
								{switch name="$data.agent_property"}
								    {case value="1"}个人{/case}
								    {case value="2"}企业{/case}
								    {default /}个体户
								{/switch}
								</em></p>
							</div>
						</div>
						<div class="shxx_row clearfix">
							<div class="left">认证状态</div>
							<div class="right">
								<p>
									<em>
										{switch name="$data.is_verify"}
										   {case value="1"}去认证<a href="{:url('index/verif')}"  class="edit">去认证</a>{/case}
										   {case value="2"}已认证{/case}
										   {case value="3"}待审核{/case}
										   {default /}认证失败<a href="{:url('index/verif')}" class="green">重新认证</a>
										{/switch}
									</em>
								</p>
							</div>
						</div>
						<div class="shxx_row clearfix">
							<div class="left">店铺地址</div>
							<div class="right">
								<p><em>{$data.address|default='未填写'}</em></p>
							</div>
						</div>
						<div class="shxx_row clearfix">
							<div class="left">配送范围</div>
							<div class="right">
								<p><em>{$data.address|default='未填写'}</em></p>
							</div>
						</div>
					</div>
					<div class="shxx_jbright">
						<p class="shxx_xmimg"><img src="{$data.logo|default='__INDEX__/bg.png'}"></p>
						<p class="shxx_xmnam">{$data.agent_name|default='0'}</p>
					</div>
				</div>
			</div>
			<div class="shxx_item">
				<div class="shxx_title">所属服务机构</div>
				<div class="shxx_row clearfix">
					<div class="left">机构名称</div>
					<div class="right">
						<p><em>懒狗客服</em></p>
					</div>
				</div>
				<div class="shxx_row clearfix">
					<div class="left">服务电话</div>
					<div class="right">
						<p><em>13789126529</em></p>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
{/block} {block name="script"}
<script>
	function info(url) {
		layer.open({
			type: 2,
			title: '修改商家信息',
			shadeClose: true,
			shade: 0.8,
			area: ['500px', '500px'],
			content: url
		});
	}
	function tixian(url) {
		layer.open({
			type: 2,
			title: '商家提现',
			shadeClose: true,
			shade: 0.8,
			area: ['500px', '490px'],
			content: url
		});
	}
</script>
{/block}